package com.four.service;

import com.four.entity.News;
import com.four.vo.NewsSearchForm;
import com.four.vo.Result;

import java.util.List;

/**
 * @author: WangPeng
 * @createTime: 2022/10/17 18:10
 * @description:
 * @version: v1.0
 */
public interface NewsService {

    Result selectAllAddnews9And1(Integer currentPage, Integer pageSize, NewsSearchForm newsSearchForm);

    Result selectAllAddnews9(Integer currentPage, Integer pageSize, NewsSearchForm newsSearchForm);

    Result selectAllAddnews1(Integer currentPage, Integer pageSize, NewsSearchForm newsSearchForm);


    Result deleteById (Integer id);

    Result addNews(News news);

    Result passAllnews(News news);

    Result putAwayNews(News news);
}

